<script>
function submitForm() {
	document.getElementById("showtime_id").value = <?php echo $info['showtime']; ?>;
	document.getElementById("ticket_id").value = <?php echo $ticket->ticket; ?>;
}
</script>

<form class="form-horizontal" action="ticket" method="post">

<div class="row">
	<h2>Thank you!</h2>
	<p>You are seconds from getting your ticket! Please click on "next" and
		print the page you are redirect to. That is your proof of payment and
		ticket.</p>
	<p>
		<button type="submit" class="btn btn-large btn-inverse" onClick="submitForm()">Next</button>
	</p>
	
	</div>

<input type="hidden" name="showtimeId" id="showtime_id" value="" />
<input type="hidden" name="ticketId" id="ticket_id" value="" />

</form>

